package cn.it.service;

import cn.it.entity.PageResult;
import cn.it.entity.QueryPageBean;
import cn.it.entity.Result;
import cn.it.pojo.Member;

import java.util.Date;
import java.util.Map;

public interface OrderService {
    Result order(Map map) throws Exception;

    Map findById(Integer id) throws Exception;

    PageResult findPage(QueryPageBean queryPageBean);

    void ConfirmAppointment(Integer id);

    void cancelReservation(Integer id) throws Exception;

    void add(Integer[] setmealIds, Date orderDate, Member member) throws Exception;

    void batchCancelReservation(Integer[] orderIds) throws Exception;
}
